coverting python toy dataset into dataframe